package com.sven.zuulgateway;

import com.netflix.zuul.FilterProcessor;
import com.sven.zuulgateway.config2.DidiFilterProcessor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@EnableZuulProxy
@SpringBootApplication
public class ZuulGatewayApplication {

	public static void main(String[] args) {
		//设置自定义的核心处理器
		// FilterProcessor.setProcessor(new DidiFilterProcessor());
		SpringApplication.run(ZuulGatewayApplication.class, args);
	}

}
